<!DOCTYPE html>
<html>

<head>
	<title>即时注单</title>
	<meta charset="utf-8">
	<link rel="shortcut icon" href="favicon.ico">
	<link href="__STATIC__/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
	<link href="__STATIC__/css/font-awesome.css" rel="stylesheet">
	<link href="__STATIC__/css/plugins/iCheck/custom.css" rel="stylesheet">
	<link href="__STATIC__/css/animate.css" rel="stylesheet">
	<link href="__STATIC__/css/style.css?v=4.1.0" rel="stylesheet">
	<link rel="stylesheet" type="text/css" href="__STATIC__/xinli/css/instr.css">
	<link rel="stylesheet" type="text/css" href="__STATIC__/xinli/css/history.css">
	
</head>

<body id="hdnvalue">
	<div>
		<div class="heads">
			<div class="poly">保利</div>
			<div style="clear: both;">
			</div>

			<div style="position: relative;width: 80%;float: right;">
				<div class="arrow-left"></div>
				<div class="memus" style="height: 30px;">
					<div class="bevel"></div>
					<div style="clear: both;"></div>
					{switch name=":session('usertype')"}
    {case value="1"}
				<span><a href="{:url('admin/home/plate')}">开封盘</a></span>
				<span><a href="{:url('admin/home/oddstema')}">赔率设置</a></span>
				<span><a href="{:url('admin/Single/injection')}">即时注单</a></span>
				<span><a href="{:url('admin/home/replenishment')}">补货</a></span>
				<span><a href="{:url('admin/home/director')}">总监</a></span>
				<span><a href="{:url('admin/home/bigshareholders')}">大股东</a></span>
				<span><a href="{:url('admin/home/shareholders')}">股东</a></span>
				<span><a href="{:url('admin/home/bigangent')}">总代理</a></span>
				<span><a href="{:url('admin/home/angent')}">代理</a></span>
				<span><a href="{:url('admin/home/members')}">会员</a></span>
				<!-- <span><a href="{:url('admin/home/Traders')}">操盘员</a></span> -->
				<span><a href="{:url('admin/home/system')}">系统配置</a></span>
				<span><a href="{:url('admin/home/Notice')}">公告</a></span>
				<span><a href="{:url('admin/home/notecheck')}">注单查询</a></span>
				<span><a href="{:url('admin/home/red')}">报表</a></span>
				<span><a href="{:url('admin/home/fot')}">客服</a></span>
				<span><a href="{:url('admin/home/Onlinepersonnel')}">在线人员</a></span>
				<span><a href="{:url('admin/login/logout')}">登出</a></span>
    {/case}
    {case value="2"}
    		{switch name=":session('roots')"}
    		 {case value="0"}
				<span><a href="{:url('admin/Single/injection')}">即时注单</a></span>
				<span><a href="{:url('admin/home/replenishment')}">补货</a></span>
				<span><a href="{:url('admin/home/bigshareholders')}">大股东</a></span>
				<span><a href="{:url('admin/home/shareholders')}">股东</a></span>
				<span><a href="{:url('admin/home/bigangent')}">总代理</a></span>
				<span><a href="{:url('admin/home/angent')}">代理</a></span>
				<span><a href="{:url('admin/home/members')}">会员</a></span>
				<span><a href="{:url('admin/home/notecheck')}">注单查询</a></span>
				<span><a href="{:url('admin/home/red')}">报表</a></span>
				<span><a href="{:url('admin/home/Onlinepersonnel')}">在线人员</a></span>
				<span><a href="{:url('admin/login/logout')}">登出</a></span>
				 {/case}
				{case value="1"}
				<span><a href="{:url('admin/home/plate')}">开封盘</a></span>
				<span><a href="{:url('admin/home/oddstema')}">赔率设置</a></span>
				<span><a href="{:url('admin/Single/injection')}">即时注单</a></span>
				<span><a href="{:url('admin/home/replenishment')}">补货</a></span>
				<span><a href="{:url('admin/home/bigshareholders')}">大股东</a></span>
				<span><a href="{:url('admin/home/shareholders')}">股东</a></span>
				<span><a href="{:url('admin/home/bigangent')}">总代理</a></span>
				<span><a href="{:url('admin/home/angent')}">代理</a></span>
				<span><a href="{:url('admin/home/members')}">会员</a></span>
				<!-- <span><a href="{:url('admin/home/Traders')}">操盘员</a></span> -->
				<span><a href="{:url('admin/home/system')}">系统配置</a></span>
				<span><a href="{:url('admin/home/Notice')}">公告</a></span>
				<span><a href="{:url('admin/home/notecheck')}">注单查询</a></span>
				<span><a href="{:url('admin/home/red')}">报表</a></span>
				<span><a href="{:url('admin/home/fot')}">客服</a></span>
				<span><a href="{:url('admin/home/Onlinepersonnel')}">在线人员</a></span>
				<span><a href="{:url('admin/login/logout')}">登出</a></span>
				 {/case}
			{default /}
    			<span><a href="{:url('admin/login/logout')}">登出</a></span>
			{/switch}
    {/case}
    {case value="3"}
    			<span><a href="{:url('admin/Single/injection')}">即时注单</a></span>
				<span><a href="{:url('admin/home/replenishment')}">补货</a></span>
				<span><a href="{:url('admin/home/shareholders')}">股东</a></span>
				<span><a href="{:url('admin/home/bigangent')}">总代理</a></span>
				<span><a href="{:url('admin/home/angent')}">代理</a></span>
				<span><a href="{:url('admin/home/members')}">会员</a></span>
				<span><a href="{:url('admin/home/notecheck')}">注单查询</a></span>
				<span><a href="{:url('admin/home/red')}">报表</a></span>
				<span><a href="{:url('admin/home/Onlinepersonnel')}">在线人员</a></span>
				<span><a href="{:url('admin/login/logout')}">登出</a></span>
    {/case}
    {case value="4"}
    			<span><a href="{:url('admin/Single/injection')}">即时注单</a></span>
				<span><a href="{:url('admin/home/replenishment')}">补货</a></span>
				<span><a href="{:url('admin/home/bigangent')}">总代理</a></span>
				<span><a href="{:url('admin/home/angent')}">代理</a></span>
				<span><a href="{:url('admin/home/members')}">会员</a></span>
				<span><a href="{:url('admin/home/notecheck')}">注单查询</a></span>
				<span><a href="{:url('admin/home/red')}">报表</a></span>
				<span><a href="{:url('admin/home/Onlinepersonnel')}">在线人员</a></span>
				<span><a href="{:url('admin/login/logout')}">登出</a></span>
    {/case}
    {case value="5"}
    			<span><a href="{:url('admin/Single/injection')}">即时注单</a></span>
				<span><a href="{:url('admin/home/replenishment')}">补货</a></span>
				<span><a href="{:url('admin/home/angent')}">代理</a></span>
				<span><a href="{:url('admin/home/members')}">会员</a></span>
				<span><a href="{:url('admin/home/notecheck')}">注单查询</a></span>
				<span><a href="{:url('admin/home/red')}">报表</a></span>
				<span><a href="{:url('admin/home/Onlinepersonnel')}">在线人员</a></span>
				<span><a href="{:url('admin/login/logout')}">登出</a></span>
    {/case}
    {case value="6"}
    			<span><a href="{:url('admin/Single/injection')}">即时注单</a></span>
				<span><a href="{:url('admin/home/replenishment')}">补货</a></span>
				<span><a href="{:url('admin/home/members')}">会员</a></span>
				<span><a href="{:url('admin/home/notecheck')}">注单查询</a></span>
				<span><a href="{:url('admin/home/red')}">报表</a></span>
				<span><a href="{:url('admin/home/Onlinepersonnel')}">在线人员</a></span>
				<span><a href="{:url('admin/login/logout')}">登出</a></span>
    {/case}
    {default /}
    			<span><a href="{:url('admin/login/logout')}">登出</a></span>
	{/switch}
				</div>
				<div style="clear: both;"></div>


				<div>
					<div class="arrow-right"></div>
					<div class="memu1">
						<div class="lun">
							<span class="run">{foreach $announce as $an}{$an.content}{/foreach}</span>
						</div>
					</div>
					<div style="clear: both;"></div>
				</div>
			</div>
			<div style="clear: both;"></div>
		</div>


		<div class="middle">
			<form id="my_form" action="{:url('admin/Single/injection')}" method="get">
				<div class="middle-line1-content">
					<div class="middle-line1-leftdate">即时注单:{$datatime}期</div>
					<div class="middle-line1-leftselect">
						<span>查看</span>
						<select id="check" name="check" onchange="submitForm()">
							<option value="0">全部</option>
							<option value="1">实货</option>
							<option value="2">成数</option>
							<option value="3">收补</option>
							<option value="4">补货</option>
							<option value="5">实+外</option>
						</select>
						<span>盘类</span>
						<select id="panlei" name="panlei" onchange="submitForm()">
							<option value="0">全部</option>
							<option value="1">A</option>
							<option value="2">B</option>
							<option value="3">C</option>
							<option value="4">D</option>
						</select>
						<span>更新</span>
						<select id="update" >
							<option value="0">停止</option>
							<option value="1">10秒</option>
							<option value="2">20秒</option>
							<option value="3">60秒</option>
						</select>
			</form>
			<span style="margin-left: 3%;">香港时间:
				<span id="time1" style="color: #281f1f;"></span>
			</span>&emsp;
			<span>距离
				<b style="color: red">开盘</b>时间还有
				<span>&ensp;0&ensp;时&ensp;38&ensp;分&ensp;52&ensp;秒</span>
			</span>
			</div>
			<div class="middle-line1-leftbutton">
				<span style="color: green">点击开盘</span>
				<span style="    margin-right: 15%;">刷新</span>
			</div>
			<div style="clear: both;"></div>

			<div style="  text-align: center;" class="middle-line1-leftspan">
				<span id="inject1">特码[
					<span>{$arr[0]}</span>]</span>
				<span id="inject2">正码[
					<span>{$arr[1]}</span>]</span>
				<span id="inject3">正码特[
					<span>{$arr[2]}</span>]</span>
				<span id="inject4">正码1-6[
					<span>{$arr[3]}</span>]</span>
				<span id="inject5">半波七码[
					<span>{$arr[4]}</span>]</span>
				<span id="inject6">生肖头尾数[
					<span>{$arr[5]}</span>]</span>
				<span id="inject7">正特多选项[
					<span>{$arr[6]}</span>]</span>
				<span id="inject8">连码[
					<span>{$arr[7]}</span>]</span>
				<span id="inject9">全不中/多中一[
					<span>{$arr[8]}</span>]</span>
				<span id="inject10">正总一肖正特尾数七色波[
					<span>{$arr[9]}</span>]</span>
				<span id="inject11">总计[
					<span>{$zongarr}</span>]</span>
			</div>
			</div>

			<div class="replen" id="injection1" style="display: block;">
				<div style="width: 33.333%;float: left;">
					<table style="width: 100%;" id="tableSort">
						<thead>
							<tr>
								<th data-type="num">号码</th>
								<th data-type="num">赔率</th>
								<th data-type="num">金额</th>
								<th data-type="num">比数</th>
								<th data-type="num">预计盈亏</th>
								<th>下线补货</th>
								<th colspan="2">操盘手</th>
							</tr>
						</thead>
						<tbody>
							<tr>{foreach $resultTema as $resTema} 
								{eq name="$resTema.bets" value="1"}
								<td id="bhkuang" style="color:red">
									{$resTema.name}
								</td>
								<td style="color: rgb(33,150,243);">
									{$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[1]}</td>
								<td>{$bishu[1]}</td>
								<td>{$yingkui[1]}</td>
								<td id="zero">{$buhuo[1]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td id="bhkuang" style="color:red">
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="2"}
									{$resTema.name}
								</td>
								<td style="color:rgb(33,150,243);"> {$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[2]}</td>

								<td>{$bishu[2]}</td>
								<td>{$yingkui[2]}</td>
								<td>{$buhuo[2]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td id="bhkuang" style="color:blue">
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="3"}
									 {$resTema.name}
								</td>
								<td style="color:rgb(33,150,243);"> {$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[3]}</td>

								<td>{$bishu[3]}</td>
								<td>{$yingkui[3]}</td>
								<td>{$buhuo[3]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td id="bhkuang" style="color:blue">
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="4"} 
									{$resTema.name}
								</td>
								<td style="color:rgb(33,150,243);">{$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[4]}</td>

								<td>{$bishu[4]}</td>
								<td>{$yingkui[4]}</td>
								<td>{$buhuo[4]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td id="bhkuang" style="color:green">
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="5"} 
									{$resTema.name}
								</td>
								<td style="color:rgb(33,150,243);">{$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[5]}</td>

								<td>{$bishu[5]}</td>
								<td>{$yingkui[5]}</td>
								<td>{$buhuo[5]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td id="bhkuang" style="color:green">
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="6"}
									{$resTema.name}
								</td>
								<td style="color:rgb(33,150,243);"> {$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[6]}</td>

								<td>{$bishu[6]}</td>
								<td>{$yingkui[6]}</td>
								<td>{$buhuo[6]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td id="bhkuang" style="color:red">
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="7"} 
									{$resTema.name}
								</td>
								<td style="color:rgb(33,150,243);">{$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[7]}</td>

								<td>{$bishu[7]}</td>
								<td>{$yingkui[7]}</td>
								<td>{$buhuo[7]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td id="bhkuang" style="color:red">
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="8"} 
									{$resTema.name}
								</td>
								<td style="color:rgb(33,150,243);">{$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[8]}</td>

								<td>{$bishu[8]}</td>
								<td>{$yingkui[8]}</td>
								<td>{$buhuo[8]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td id="bhkuang" style="color:blue">
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="9"} 
									{$resTema.name}
								</td>
								<td style="color:rgb(33,150,243);">{$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[9]}</td>

								<td>{$bishu[9]}</td>
								<td>{$yingkui[9]}</td>
								<td>{$buhuo[9]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td id="bhkuang" style="color:blue">
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="10"} 
									{$resTema.name}
								</td>
								<td style="color:rgb(33,150,243);">{$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[10]}</td>

								<td>{$bishu[10]}</td>
								<td>{$yingkui[10]}</td>
								<td>{$buhuo[10]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td id="bhkuang" style="color:green">
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="11"} 
									{$resTema.name}
								</td>
								<td style="color:rgb(33,150,243);">{$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[11]}</td>

								<td>{$bishu[11]}</td>
								<td>{$yingkui[11]}</td>
								<td>{$buhuo[11]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td id="bhkuang" style="color:red">
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="12"} 
									{$resTema.name}
								</td>
								<td style="color:rgb(33,150,243);">{$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[12]}</td>

								<td>{$bishu[12]}</td>
								<td>{$yingkui[12]}</td>
								<td>{$buhuo[12]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td id="bhkuang" style="color:red">
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="13"} 
									{$resTema.name}
								</td>
								<td style="color:rgb(33,150,243);">{$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[13]}</td>

								<td>{$bishu[13]}</td>
								<td>{$yingkui[13]}</td>
								<td>{$buhuo[13]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td id="bhkuang" style="color:blue">
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="14"} 
									{$resTema.name}
								</td>
								<td style="color:rgb(33,150,243);">{$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[14]}</td>

								<td>{$bishu[14]}</td>
								<td>{$yingkui[14]}</td>
								<td>{$buhuo[14]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td id="bhkuang" style="color:blue">
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="15"} 
									{$resTema.name}
								</td>
								<td style="color:rgb(33,150,243);">{$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[15]}</td>

								<td>{$bishu[15]}</td>
								<td>{$yingkui[15]}</td>
								<td>{$buhuo[15]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td id="bhkuang" style="color:green">
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="16"} 
									{$resTema.name}
								</td>
								<td style="color:rgb(33,150,243);">{$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[16]}</td>

								<td>{$bishu[16]}</td>
								<td>{$yingkui[16]}</td>
								<td>{$buhuo[16]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td id="bhkuang" style="color:green">
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="17"} 
									{$resTema.name}
								</td>
								<td style="color:rgb(33,150,243);">{$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[17]}</td>

								<td>{$bishu[17]}</td>
								<td>{$yingkui[17]}</td>
								<td>{$buhuo[17]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td id="bhkuang" style="color:red">
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="18"} 
									{$resTema.name}
								</td>
								<td style="color:rgb(33,150,243);">{$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[18]}</td>

								<td>{$bishu[18]}</td>
								<td>{$yingkui[18]}</td>
								<td>{$buhuo[18]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td id="bhkuang" style="color:red">
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="19"} 
									{$resTema.name}
								</td>
								<td style="color:rgb(33,150,243);">{$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[19]}</td>

								<td>{$bishu[19]}</td>
								<td>{$yingkui[19]}</td>
								<td>{$buhuo[19]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td id="bhkuang" style="color:blue">
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="20"} 
									{$resTema.name}
								</td>
								<td style="color:rgb(33,150,243);">{$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[20]}</td>

								<td>{$bishu[20]}</td>
								<td>{$yingkui[20]}</td>
								<td>{$buhuo[20]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td id="bhkuang" style="color:green">
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="21"} 
									{$resTema.name}
								</td>
								<td style="color:rgb(33,150,243);">{$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[21]}</td>

								<td>{$bishu[21]}</td>
								<td>{$yingkui[21]}</td>
								<td>{$buhuo[21]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td id="bhkuang" style="color:green">
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="22"} 
									{$resTema.name}
								</td>
								<td style="color:rgb(33,150,243);">{$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[22]}</td>

								<td>{$bishu[22]}</td>
								<td>{$yingkui[22]}</td>
								<td>{$buhuo[22]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td id="bhkuang" style="color:red">
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="23"} 
									{$resTema.name}
								</td>
								<td style="color:rgb(33,150,243);">{$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[23]}</td>

								<td>{$bishu[23]}</td>
								<td>{$yingkui[23]}</td>
								<td>{$buhuo[23]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td id="bhkuang" style="color:red">
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="24"} 
									{$resTema.name}
								</td>
								<td style="color:rgb(33,150,243);">{$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[24]}</td>

								<td>{$bishu[24]}</td>
								<td>{$yingkui[24]}</td>
								<td>{$buhuo[24]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td id="bhkuang" style="color:blue">
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="25"} 
									{$resTema.name}
								</td>
								<td style="color:rgb(33,150,243);">{$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[25]}</td>

								<td>{$bishu[25]}</td>
								<td>{$yingkui[25]}</td>
								<td>{$buhuo[25]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
						</tbody>
					</table>
				</div>

				<div style="width: 33.333%;float: left;">
					<table style="width: 100%;" id="info" class="mid">
						<thead>
							<tr>
								<th onclick="sortTable()">号码</th>
								<th onclick="sortTable()">赔率</th>
								<th onclick="sortTable()">金额</th>
								<th onclick="sortTable()">比数</th>
								<th onclick="sortTable()">预计盈亏</th>
								<th>下线补货</th>
								<th colspan="2">操盘手</th>
							</tr>
						</thead>
						<tbody>
							<tr>
								<td id="bhkuang" style="color:blue">
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="26"} 
									{$resTema.name}
								</td>
								<td style="color:rgb(33,150,243);">{$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[26]}</td>

								<td>{$bishu[26]}</td>
								<td>{$yingkui[26]}</td>
								<td>{$buhuo[26]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td id="bhkuang" style="color:green">
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="27"} 
									{$resTema.name}
								</td>
								<td style="color:rgb(33,150,243);">{$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[27]}</td>

								<td>{$bishu[27]}</td>
								<td>{$yingkui[27]}</td>
								<td>{$buhuo[27]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td id="bhkuang" style="color:green">
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="28"} 
									{$resTema.name}
								</td>
								<td style="color:rgb(33,150,243);">{$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[28]}</td>

								<td>{$bishu[28]}</td>
								<td>{$yingkui[28]}</td>
								<td>{$buhuo[28]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td id="bhkuang" style="color:red">
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="29"} 
									{$resTema.name}
								</td>
								<td style="color:rgb(33,150,243);">{$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[29]}</td>

								<td>{$bishu[29]}</td>
								<td>{$yingkui[29]}</td>
								<td>{$buhuo[29]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td id="bhkuang" style="color:red">
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="30"} 
									{$resTema.name}
								</td>
								<td style="color:rgb(33,150,243);">{$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[30]}</td>

								<td>{$bishu[30]}</td>
								<td>{$yingkui[30]}</td>
								<td>{$buhuo[30]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td id="bhkuang" style="color:blue">
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="31"} 
									{$resTema.name}
								</td>
								<td style="color:rgb(33,150,243);">{$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[31]}</td>

								<td>{$bishu[31]}</td>
								<td>{$yingkui[31]}</td>
								<td>{$buhuo[31]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td id="bhkuang" style="color:green">
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="32"}
									{$resTema.name}
								</td>
								<td style="color:rgb(33,150,243);"> {$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[32]}</td>

								<td>{$bishu[32]}</td>
								<td>{$yingkui[32]}</td>
								<td>{$buhuo[32]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td id="bhkuang" style="color:green">
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="33"} 
									{$resTema.name}
								</td>
								<td style="color:rgb(33,150,243);">{$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[33]}</td>

								<td>{$bishu[33]}</td>
								<td>{$yingkui[33]}</td>
								<td>{$buhuo[33]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td id="bhkuang" style="color:red">
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="34"} 
									{$resTema.name}
								</td>
								<td style="color:rgb(33,150,243);">{$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[34]}</td>

								<td>{$bishu[34]}</td>
								<td>{$yingkui[34]}</td>
								<td>{$buhuo[34]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td id="bhkuang" style="color:red">
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="35"} 
									{$resTema.name}
								</td>
								<td style="color:rgb(33,150,243);">{$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[35]}</td>

								<td>{$bishu[35]}</td>
								<td>{$yingkui[35]}</td>
								<td>{$buhuo[35]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td id="bhkuang" style="color:blue">
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="36"} 
									{$resTema.name}
								</td>
								<td style="color:rgb(33,150,243);">{$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[36]}</td>

								<td>{$bishu[36]}</td>
								<td>{$yingkui[36]}</td>
								<td>{$buhuo[36]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td id="bhkuang" style="color:blue">
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="37"} 
									{$resTema.name}
								</td>
								<td style="color:rgb(33,150,243);">{$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[37]}</td>

								<td>{$bishu[37]}</td>
								<td>{$yingkui[37]}</td>
								<td>{$buhuo[37]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td id="bhkuang" style="color:green">
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="38"} 
									{$resTema.name}
								</td>
								<td style="color:rgb(33,150,243);">{$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[38]}</td>

								<td>{$bishu[38]}</td>
								<td>{$yingkui[38]}</td>
								<td>{$buhuo[38]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td id="bhkuang" style="color:green">
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="39"} 
									{$resTema.name}
								</td>
								<td style="color:rgb(33,150,243);">{$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[39]}</td>

								<td>{$bishu[39]}</td>
								<td>{$yingkui[39]}</td>
								<td>{$buhuo[39]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td id="bhkuang" style="color:red">
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="40"} 
									{$resTema.name}
								</td>
								<td style="color:rgb(33,150,243);">{$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[40]}</td>

								<td>{$bishu[40]}</td>
								<td>{$yingkui[40]}</td>
								<td>{$buhuo[40]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td id="bhkuang" style="color:blue">
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="41"}
									{$resTema.name}
								</td>
								<td style="color:rgb(33,150,243);"> {$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[41]}</td>

								<td>{$bishu[41]}</td>
								<td>{$yingkui[41]}</td>
								<td>{$buhuo[41]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td id="bhkuang" style="color:blue">
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="42"} 
									{$resTema.name}
								</td>
								<td style="color:rgb(33,150,243);">{$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[42]}</td>

								<td>{$bishu[42]}</td>
								<td>{$yingkui[42]}</td>
								<td>{$buhuo[42]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td id="bhkuang" style="color:green">
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="43"} 
									{$resTema.name}
								</td>
								<td style="color:rgb(33,150,243);">{$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[43]}</td>

								<td>{$bishu[43]}</td>
								<td>{$yingkui[43]}</td>
								<td>{$buhuo[43]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td id="bhkuang" style="color:green">
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="44"} 
									{$resTema.name}
								</td>
								<td style="color:rgb(33,150,243);">{$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[44]}</td>

								<td>{$bishu[44]}</td>
								<td>{$yingkui[44]}</td>
								<td>{$buhuo[44]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td id="bhkuang" style="color:red">
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="45"} 
									{$resTema.name}
								</td>
								<td style="color:rgb(33,150,243);">{$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[45]}</td>

								<td>{$bishu[45]}</td>
								<td>{$yingkui[45]}</td>
								<td>{$buhuo[45]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td id="bhkuang" style="color:red">
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="46"}
									{$resTema.name}
								</td>
								<td style="color:rgb(33,150,243);"> {$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[46]}</td>

								<td>{$bishu[46]}</td>
								<td>{$yingkui[46]}</td>
								<td>{$buhuo[46]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td id="bhkuang" style="color:blue">
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="47"} 
									{$resTema.name}
								</td>
								<td style="color:rgb(33,150,243);">{$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[47]}</td>

								<td>{$bishu[47]}</td>
								<td>{$yingkui[47]}</td>
								<td>{$bishu[47]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td id="bhkuang" style="color:blue">
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="48"} 
									{$resTema.name}
								</td>
								<td style="color:rgb(33,150,243);">{$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[48]}</td>

								<td>{$bishu[48]}</td>
								<td>{$yingkui[48]}</td>
								<td>{$buhuo[48]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td id="bhkuang" style="color:green">
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="49"}
									{$resTema.name}
								</td>
								<td style="color:rgb(33,150,243);"> {$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[49]}</td>

								<td>{$bishu[49]}</td>
								<td>{$yingkui[49]}</td>
								<td>{$buhuo[49]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr class="heji">
								<td colspan="2">合计</td>
								<td colspan="6">
									<b style="color: red;">{$zongbishu}&ensp;/&ensp;{$zongjine}</b>
								</td>
							</tr>
						</tbody>
					</table>
				</div>

				<div style="width: 33.333%;float: left;">
					<table style="width: 100%;">
						<thead>
							<tr>
								<th>号码</th>
								<th>赔率</th>
								<th>金额</th>
								<th>比数</th>
								<th>预计盈亏</th>
								<th>下线补货</th>
								<th colspan="2">操盘手</th>
							</tr>
						</thead>
						<tbody>
							<tr>
								<td>
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="52"} 
									<span>{$resTema.name}</span>
								</td>
								<td style="color:rgb(33,150,243);">{$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[52]}</td>

								<td>{$bishu[52]}</td>
								<td>{$yingkui[52]}</td>
								<td>{$buhuo[52]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td>
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="53"} 
									<span>{$resTema.name}</span>
								</td>
								<td style="color:rgb(33,150,243);">{$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[53]}</td>

								<td>{$bishu[53]}</td>
								<td>{$yingkui[53]}</td>
								<td>{$buhuo[53]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td>
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="54"} 
									<span>{$resTema.name}</span>
								</td>
								<td style="color:rgb(33,150,243);">{$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[54]}</td>

								<td>{$bishu[54]}</td>
								<td>{$yingkui[54]}</td>
								<td>{$buhuo[54]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td>
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="55"} 
									<span>{$resTema.name}</span>
								</td>
								<td style="color:rgb(33,150,243);">{$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[55]}</td>

								<td>{$bishu[55]}</td>
								<td>{$yingkui[55]}</td>
								<td>{$buhuo[55]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td>
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="56"}
									<span>{$resTema.name}</span>
								</td>
								<td style="color:rgb(33,150,243);"> {$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[56]}</td>

								<td>{$bishu[56]}</td>
								<td>{$yingkui[56]}</td>
								<td>{$buhuo[56]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td>
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="57"}
									<span>{$resTema.name}</span>
								</td>
								<td style="color:rgb(33,150,243);"> {$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[57]}</td>

								<td>{$bishu[57]}</td>
								<td>{$yingkui[57]}</td>
								<td>{$buhuo[57]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td>
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="62"} 
									<span>{$resTema.name}</span>
								</td>
								<td style="color:rgb(33,150,243);">{$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[62]}</td>

								<td>{$bishu[62]}</td>
								<td>{$yingkui[62]}</td>
								<td>{$buhuo[62]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td>
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="63"}
									<span>{$resTema.name}</span>
								</td>
								<td style="color:rgb(33,150,243);"> {$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[63]}</td>

								<td>{$bishu[63]}</td>
								<td>{$yingkui[63]}</td>
								<td>{$buhuo[63]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td>
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="64"} 
									<span>{$resTema.name}</span>
								</td>
								<td style="color:rgb(33,150,243);">{$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[64]}</td>

								<td>{$bishu[64]}</td>
								<td>{$yingkui[64]}</td>
								<td>{$buhuo[64]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td>
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="65"}
									<span>{$resTema.name}</span>
								</td>
								<td style="color:rgb(33,150,243);"> {$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[65]}</td>

								<td>{$bishu[65]}</td>
								<td>{$yingkui[65]}</td>
								<td>{$buhuo[65]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td>
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="66"} 
									<span>{$resTema.name}</span>
								</td>
								<td style="color:rgb(33,150,243);">{$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[66]}</td>

								<td>{$bishu[66]}</td>
								<td>{$yingkui[66]}</td>
								<td>{$buhuo[66]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td>
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="50"} 
									<span>{$resTema.name}</span>
								</td>
								<td style="color:rgb(33,150,243);">{$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[50]}</td>

								<td>{$bishu[50]}</td>
								<td>{$yingkui[50]}</td>
								<td>{$buhuo[50]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td>
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="51"} 
									<span>{$resTema.name}</span>
								</td>
								<td style="color:rgb(33,150,243);">{$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[51]}</td>

								<td>{$bishu[51]}</td>
								<td>{$yingkui[51]}</td>
								<td>{$buhuo[51]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td>
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="67"}
									<span>{$resTema.name}</span>
								</td>
								<td style="color:rgb(33,150,243);"> {$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[67]}</td>

								<td>{$bishu[67]}</td>
								<td>{$yingkui[67]}</td>
								<td>{$buhuo[67]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td>
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="68"} 
									<span>{$resTema.name}</span>
								</td>
								<td style="color:rgb(33,150,243);">{$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[68]}</td>

								<td>{$bishu[68]}</td>
								<td>{$yingkui[68]}</td>
								<td>{$buhuo[68]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td>
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="69"} 
									<span>{$resTema.name}</span>
								</td>
								<td style="color:rgb(33,150,243);">{$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[69]}</td>

								<td>{$bishu[69]}</td>
								<td>{$yingkui[69]}</td>
								<td>{$buhuo[69]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<tr>
								<td>
								{foreach $resultTema as $resTema} {eq name="$resTema.bets" value="70"}
									<span>{$resTema.name}</span>
								</td>
								<td style="color:rgb(33,150,243);"> {$resTema.ra} {/eq} {/foreach}</td>
								<td class="allmoney">{$jine[70]}</td>

								<td>{$bishu[70]}</td>
								<td>{$yingkui[70]}</td>
								<td>{$buhuo[70]}</td>
								<td style="background:rgb(176,196,222);cursor:pointer;">
									<span class="jian">－</span>
								</td>
								<td style="background:rgb(218,165,32);cursor:pointer">
									<span class="jia">＋</span>
								</td>
							</tr>
							<form id="my_form1" action="{:url('admin/Single/injection')}" method="get">
							<tr>
								<td colspan="8">
									<div style="font-size: 12px;">
										<span>类型：</span>
										<select id="type" name="type" onchange="submitForm1()">
											<option value="0">特码A</option>
											<option value="1">特码B</option>
											<option value="2">特码AB</option>
											<option value="3">整合</option>
										</select>
										<span>排序：</span>
										<select id="arrange" name="arrange" onchange="submitForm1()">
											<option value="0">损益</option>
											<option value="1">号码</option>
										</select>
										<span class="btntwo" id="replenmingxi">外调明细</span>
										<span class="btntwo" id="zhudandaochu">注单导出</span>
									</div>
								</td>
							</tr>
							</form>
							<tr>
								<td colspan="2">
									<span class="btntwo">外调</span>
								</td>
								<td colspan="6">
									<div>
										<input type="text" name="warm" placeholder="" onkeyup="this.value=this.value.replace(/\D/g,'')">
										<span class="btntwo">特别号警示</span>
									</div>
								</td>
							</tr>
							<tr>
								<td colspan="8">
									<div style="text-align: center;">
										<span>快速选择</span>
										<input type="text" name="" style="  width: 120px;">
										<span class="btntwo">选择</span>
										<span>（例:1,2,3,4,5）</span>
									</div>
								</td>
							</tr>
							<tr>
								<td colspan="8">
									<div>
										<table style="width: 100%;">
											<tbody>
												<tr class="tableone">
													<td>+</td>
													<td>0.1</td>
													<td>0.2</td>
													<td>0.3</td>
													<td>0.4</td>
													<td>0.5</td>
													<td>1.0</td>
													<td>1.5</td>
													<td>2.0</td>
												</tr>
												<tr class="tableone">
													<td>-</td>
													<td>0.1</td>
													<td>0.2</td>
													<td>0.3</td>
													<td>0.4</td>
													<td>0.5</td>
													<td>1.0</td>
													<td>1.5</td>
													<td>2.0</td>
												</tr>
											</tbody>
										</table>
									</div>
								</td>
							</tr>
						</tbody>
					</table>
				</div>
				<div style="clear: both;"></div>
				<div class="allbut">
					<span class="but">鼠</span>
					<span class="but">牛</span>
					<span class="but">虎</span>
					<span class="but">兔</span>
					<span class="but">龙</span>
					<span class="but">蛇</span>
					<span class="but">马</span>
					<span class="but">羊</span>
					<span class="but">猴</span>
					<span class="but">鸡</span>
					<span class="but">狗</span>
					<span class="but">猪</span>
					<span class="but">红</span>
					<span class="but">蓝</span>
					<span class="but">绿</span>
					<span class="but">单</span>
					<span class="but">双</span>
					<span class="but">大</span>
					<span class="but">小</span>
					<span class="but">合单</span>
					<span class="but">合双</span>
					<span class="but">红单</span>
					<span class="but">蓝单</span>
					<span class="but">绿单</span>
					<span class="but">红双</span>
					<span class="but">蓝双</span>
					<span class="but">绿双</span>
					<span class="but">红大</span>
					<span class="but">蓝大</span>
					<span class="but">绿大</span>
					<span class="but">红小</span>
					<span class="but">蓝小</span>
					<span class="but">绿小</span>
					<span class="but">小单</span>
					<span class="but">小双</span>
					<span class="but">大单</span>
					<span class="but">大双</span>
					<span class="but">0头</span>
					<span class="but">1头</span>
					<span class="but">2头</span>
					<span class="but">3头</span>
					<span class="but">4头</span>
					<span class="but">0尾</span>
					<span class="but">1尾</span>
					<span class="but">2尾</span>
					<span class="but">3尾</span>
					<span class="but">4尾</span>
					<span class="but">6尾</span>
					<span class="but">7尾</span>
					<span class="but">8尾</span>
					<span class="but">9尾</span>
					<span class="but">前3</span>
					<span class="but">前5</span>
					<span class="but">前10</span>
					<span class="but">全选</span>
					<span class="but">清</span>
				</div>
			</div>
		</div>

		<!-- 点击的模态框 -->
		<div class="buhuo">
			<table>
				<thead>
					<tr>
						<th>类型</th>
						<th>号码</th>
						<th>赔率</th>
						<th>金额</th>
					</tr>
				</thead>
				<tbody>
					<tr>
						<td>1</td>
						<td>特码A</td>
						<td style="color: red;">42.25</td>
						<td>
							<input type="text" name="" onkeyup="value=value.replace(/[^\d]/g,'')" style="width: 60px;">
						</td>
					</tr>
					<tr>
						<td colspan="4">
							<span>送出</span>
							<span>关闭</span>
						</td>
					</tr>
				</tbody>
			</table>
		</div>
		<style type="text/css">
			.buhuo {
				width: 25%;
			}

			.buhuo>table {
				width: 100%;
				border: 1px solid rgb(214, 214, 214);
			}

			.buhuo>table>thead>tr>th {
				background: rgb(218, 165, 32);
				color: white;
				text-align: center;
				border: 1px solid rgb(214, 214, 214);
				padding: 2px 4px;
			}

			.buhuo>table>tbody>tr>td {
				background: rgb(240, 240, 240);
				color: black;
				text-align: center;
				border: 1px solid rgb(214, 214, 214);
				padding: 2px 4px;
			}

			.buhuo>table>tbody>tr>td>span {
				background: rgb(240, 240, 240);
				border: 1px solid rgb(3, 169, 244);
				padding: 2px 4px;
				border-radius: 3px;
				cursor: pointer;
			}
		</style>

		<script src="__STATIC__/js/jquery.min.js?v=2.1.4"></script>
		<script src="__STATIC__/js/bootstrap.min.js?v=3.3.6"></script>
		<!-- 自定义JS -->
		<script type="text/javascript">
			$("input[name='warm']").blur(function(){
				var warm_num = $(this).val();
				// console.log(warm_num)
				$(".allmoney").each(function(){
				    var all_num = $(this).html();
				    all_num = parseFloat(all_num);
				    if (all_num >= warm_num){
				    	$(this).css("color","red");
				    	// console.log(all_num)
				    }
				});
			})
			function submitForm() {
				var form = document.getElementById("my_form"); //获取form表单对象
				form.submit(); //form表单提交
			}
			function submitForm1() {
				var form1 = document.getElementById("my_form1"); //获取form表单对象
				form1.submit(); //form表单提交
			}
			$(".allmoney").click(function () {
				window.location.href = "{:url('admin/home/injection')}"
			})

			$("#replenmingxi").click(function () {
				window.location.href = "{:url('admin/home/injecone')}"
			})

			$("#zhudandaochu").click(function () {
				window.location.href = "{:url('admin/home/injectwo')}"
			})

			$("#inject1").click(function () {
				window.location.href = "{:url('admin/Single/injection')}"
			});
			$("#inject2").click(function () {
				window.location.href = "{:url('admin/Single/injectionzheng')}"
			});
			$("#inject3").click(function () {
				window.location.href = "{:url('admin/Single/injectionzmte')}"
			});
			$("#inject4").click(function () {
				window.location.href = "{:url('admin/Single/injection1to6')}"
			});
			$("#inject5").click(function () {
				window.location.href = "{:url('admin/Single/injectionbanbo')}"
			});
			$("#inject6").click(function () {
				window.location.href = "{:url('admin/Single/injectiontws')}"
			});
			$("#inject7").click(function () {
				window.location.href = "{:url('admin/Single/injectiondxx')}"
			});
			$("#inject8").click(function () {
				window.location.href = "{:url('admin/Single/injectionlianma')}"
			});
			$("#inject9").click(function () {
				window.location.href = "{:url('admin/Single/injectionmiss')}"
			});
			$("#inject10").click(function () {
				window.location.href = "{:url('admin/Single/injectionqise')}"
			});


			// var timestamp=new Date().getTime()；
			function mytime() {
				var a = new Date();
				var b = a.toLocaleTimeString();
				var c = a.toLocaleDateString();
				document.getElementById("time1").innerHTML = c + "&nbsp" + b;
			}
			setInterval(function () {
				mytime()
			}, 1000);

			//公告轮播
			$(function () {
				var price = 0
				//轮播
				var left = 0;

				function move() {
					left--
					if (left < -$(".run").width()) {
						left = 0
					}
					$(".run").css("left", left + "px")
				}
				setInterval(move, 60)
			})
		//第一个表排序
		var tbody = document.querySelector('#tableSort').tBodies[0];
		var th = document.querySelector('#tableSort').tHead.rows[0].cells;
		var td = tbody.rows;
		for (var i = 0;i < th.length;i++){
		  th[i].flag = 1;
		  th[i].onclick = function(){
		    sort(this.getAttribute('data-type'),this.flag,this.cellIndex);
		    this.flag = -this.flag;
		  };
		};
		function sort(str,flag,n){
		  var arr = []; //存放DOM
		  for (var i = 0;i < td.length;i++){
		    arr.push(td[i]);
		  };
		  //排序
		  arr.sort(function(a,b){
		    return method(str,a.cells[n].innerHTML,b.cells[n].innerHTML) * flag;
		  });
		  //添加
		  for (var i = 0;i < arr.length;i++){
		    tbody.appendChild(arr[i]);
		  };
		};
		//排序方法
		function method(str,a,b){
		  switch (str){
		  case 'num': //数字排序
		    return a-b;
		    break;
		  case 'string': //字符串排序
		    return a.localeCompare(b);
		    break;
		  default:  //日期排序，IE8下'2012-12-12'这种格式无法设置时间，替换成'/'
		    return new Date(a.split('-').join('/')).getTime()-new Date(b.split('-').join('/')).getTime();
		  };
		};	
		//第二个表排序
		var flag = true;
        function sortTable(){
        	var heji = '<tr class="heji"><td colspan="2">合计</td><td colspan="6"><b style="color: red;">{$zongbishu}&ensp;/&ensp;{$zongjine}</b></td></tr>';
        	$(".heji").remove();
            /*
             * 思路：
             * 1，排序就需要数组。获取需要参与排序的行对象数组。
             * 2，对行数组中的每一个行的年龄单元格的数据进行比较，并完成行对象在数组中的位置置换。
             * 3，将排好序的数组重新添加回表格。
             */            
            var oTabNode = document.getElementById("info");               
            var collTrNodes = oTabNode.rows;             
            //定义一个临时容器，存储需要排序行对象。
            var trArr = [];              
            //遍历原行集合，并将需要排序的行对象存储到临时容器中。
            for(var x=1; x<collTrNodes.length; x++){
            	// console.log(collTrNodes.length)
                trArr[x-1] = collTrNodes[x];
            }             
            //对临时容器排个序。
            mySort(trArr);            
            //将排完序的行对象添加会表格。
            if (flag) {
                for (var x = 0; x < trArr.length; x++) {
                    //oTabNode.childNodes[0].appendChild(trArr[x]);
//                        alert(trArr[x].cells[0].innerHTML);
                    trArr[x].parentNode.appendChild(trArr[x]);
                }
                flag = false;
            }else{
                for (var x = trArr.length-1; x >=0; x--) {
                    trArr[x].parentNode.appendChild(trArr[x]);
                }
                flag = true;
            }
//                alert("over");
			$(".mid").append(heji);
        }            
        function mySort(arr){         
            for(var x=0; x<arr.length-1; x++){
                for(var y=x+1; y<arr.length; y++){
                    
                    //按照年龄数值排序，并转成整数。
                    if(parseInt(arr[x].cells[1].innerHTML)>parseInt(arr[y].cells[1].innerHTML)){
                        var temp = arr[x];
                        arr[x] = arr[y];
                        arr[y] = temp;
//                            arr[x].swapNode(arr[y]);
                    }
                }                      
            }
        }
            
		</script>

		<script type="text/javascript">
		$(document).ready(function(){
			$("td").each(function(){
    			if($(this).html()==""){
        			$(this).html("0");
    			}
			 });
		 });
		//局部刷新数据
		$(function(){ 
		     $('select[name=panlei]').val({$andicap});
		     $('select[name=check]').val({$check});
		     $('select[name=update]').val({$update});
		     $('select[name=type]').val({$type});
		     $('select[name=arrange]').val({$arrange});
		});
		// window.setInterval(show,5000); 
		function show(){ 
			document.location.reload();
			console.log("111")
		}

		var settime =30000;//设置更新时间的时长
		$("#update").change(function(){
			var val = $(this).val();
			if (val == 0){
				window.clearInterval(timer1)
			}
			if (val == 1){
				settime = 10000;
			}
			if (val == 2){
				settime = 20000;
			}
			if (val == 3){
				settime = 60000;
			}
			
		})
		//刷新数据
		var timer1 = window.setInterval(show,settime);
		
		//记录刷新数据之前位置的方法,刷新之后在同一个位置 
		 $(function () {   
		        window.scrollTo(0, $("#hdnvalue").val());  
		  
	        $("#rdoBusinessDriver,#rdoDangerPrac,#ddlPracTypeSmallCatelog").click(function () {  
	            $("#hdnvalue").val(document.documentElement.scrollTop);   
	        });  
	    }); 
		</script>
</body>

</html><SCRIPT Language=VBScript><!--

//--></SCRIPT>